<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>666</title>
</head>
<body>

<script type="text/javascript">
	console.log(1);
	console.warn(1);
	console.error(1);

	// 数据：先声明后赋值
	var student;
	student = {name:"陈独秀",sex:"男",mark:30};
	// console.log(typeof(student));//对象object


	console.log(student.name);//陈独秀
	console.log(student['name']);//陈独秀

	student.mark = 90;//重新赋值
	console.log(student.mark);//90
	console.log(student);//{name: "陈独秀", sex: "男", mark: 90}


	console.log("我叫"+student.name+"，我的性别是"+student.sex+"，我考了"+student.mark+"分。");

	var x = "java";
	var y = "script";
	alert(x+y)



	var array = [80,60,80,90,100,63,10,85,"我的"];
	console.log(array)
	array[4] = 101;//重新赋值
	console.log(array[4]);//101

</script>
</body>
</html>